package cn.sdormitory.evaluation.dao;

import cn.sdormitory.evaluation.entity.WorkDayEntity;
import cn.sdormitory.evaluation.vo.WorkDayVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WorkDayDao extends BaseMapper<WorkDayEntity> {
    List<WorkDayVO> selectClassInfo();

    int addCheckStudent(@Param("classId") Long classId, @Param("workDayId")Long workDayId,
                        @Param("checkType")String checkType,@Param("reciteType")String reciteType);

    List<Map<String,String>> selectCountRaio(@Param("wordDayId")Long wordDayId);
}
